package com.example.webapi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author  张彬 
 * @since 2021-10-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Menu implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 规则名字
     */
    @TableField("ruleName")
    private String ruleName;

    /**
     * 规则内容
     */
    @TableField("ruleInfo")
    private String ruleInfo;

    /**
     * 父类菜单id
     */
    @TableField("parentId")
    private Integer parentId;

    /**
     * 排序字段
     */
    @TableField("orderBy")
    private String orderBy;

    /**
     * 0是过滤1不过滤
     */
    @TableField("isHide")
    private Integer isHide;



}
